#include "e2d/core/render/Texts.h"

void e2d::Texts::OnLoad()
{
	auto& fontRS = e2d::FontFactory::Inst();
	if (!fontRS.RegisterFontFile(m_TextLine.m_FontFamily))
	{
		ztclog::info("Failed load the font file %s", m_TextLine.m_FontFamily.c_str());
	}

}

void e2d::Texts::OnUpdate()
{

}

void e2d::Texts::OnUpdateRuntime()
{
}

void e2d::Texts::OnDestroy()
{
}
